Xbasic

OBJECT.UP Function

Syntax

.Up()

Description

Moves the focus up. (E.g. the previous field on a form.)

Moves the focus up as if the user pressed the "Up" cursor key.

The <OBJECT>.UP() method applies to:

Browses (for <OBJECT> use either the <BROWSE> pointer or the name of the browse)
Forms (for <OBJECT> use either the <FORM> pointer or the name of the form)

The <OBJECT>.UP() method moves the focus up as if the user had pressed the Up key.

Example

This script moves to the previous field on the form:

parentform.up()

Limitations

Desktop applications only.

See Also